<!DOCTYPE html>
<html>

<head>
    <title>{$user_nickname} - 个人中心</title>
    <meta name="keywords" content="" />
    <meta name="description" content="">
    <include file="public@head" />
</head>

<body class="page-user-center" id="top">
    <include file="public@nav" />
    <include file="public@usernav" />
    <div class="container py-3">
        <h6 class="text-right"><i class="fa fa-list-alt"></i> 个人中心</h6>
        <hr>
        <div class="">
            <div class="form-group">
                <label class="control-label" for="input-user_nicename">昵称</label>
                <div>{$user_nickname|default='未填写'}</div>
            </div>
            <div class="form-group">
                <label class="control-label" for="input-sex">性别</label>
                <div>
                    <php> $sexs=array("0"=>"保密","1"=>"男","2"=>"女");echo $sexs[$sex]; </php>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label" for="input-birthday">生日</label>
                <div>{:date('Y-m-d',$birthday)}</div>
            </div>
            <div class="form-group">
                <label class="control-label" for="input-user_url">个人网址</label>
                <div>{$user_url|default='未填写'}</div>
            </div>
            <div class="form-group">
                <label class="control-label" for="input-signature">个性签名</label>
                <div>{$signature|default='未填写'}</div>
            </div>
            <div class="form-group">
                <a href="{:url('user/profile/edit')}" class="btn btn-primary">编辑</a>
            </div>
        </div>
    </div>
    <!-- /container -->
    <include file="public@footer" />
    <include file="public@scripts" />
</body>

</html>